<template>
  <div class="wrapper">
    <div class="tab-list">
      <router-link tag="div" to="/merchandise/combo/inventory/num" class="router">数量</router-link>
      <router-link tag="div" to="/merchandise/combo/inventory/price" class="router">价钱</router-link>
    </div>
    <router-view />
  </div>
</template>
<script>
export default {
  name: ''
}
</script>

<style lang="scss" scoped>
.wrapper {
  width: 100%;
  background-color: #fff;
  .tab-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    .router {
      flex: 1;
      text-align: center;
      line-height: 40px;
      color: #050505;
      border-bottom: 1px solid transparent;
      cursor: pointer;
    }
    .router-link-active{
      border-bottom-color: #ebeef5;
      color: #409eff;
    }
  }
}
</style>
